//C02:2.5:ourfunc.cpp -- defining your own function
#include <iostream>
void simon(int);    // function prototype for simon()

int main(void)
{
    using namespace std;
    simon(3);   // call the simon() function
    cout << "Pick an integer: ";
    int count;

    cin >> count;
    simon(count);   // Call it again
    cout << "Done!" << endl;
}

void simon(int n)
{
    using namespace std;
    cout << "Simon says touch your toes " << n << " times." << endl;
    cout << "Simon says touch your toes " << n << " times." << endl;
    // void functions don't need return statements
}  